package com.zs.members.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.zs.members.pojo.entity.Points;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zs.members.pojo.vo.PointsVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 张硕
 * @since 2021-07-25
 */
@Mapper
public interface PointsMapper extends BaseMapper<Points> {

    //参数加上@Param(Constants.WRAPPER),xml里加上${ew.customSqlSegment}可以实现复杂条件检索查询
    IPage<Points> get(IPage<Points> page, @Param(Constants.WRAPPER) Wrapper<Points> wrapper);

}
